//
//  Evidence.h
//  SecretRoom
//
//  Created by Sitdhibhong Laokok on 9/12/54 BE.
//  Copyright (c) 2554 App Tree. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class Event, EvidenceMeta, Tag;

@interface Evidence : NSManagedObject {
@private
}
@property (nonatomic, retain) NSDate * datetimeCollected;
@property (nonatomic, retain) NSString * evidenceName;
@property (nonatomic, retain) NSString * filename;
@property (nonatomic, retain) NSNumber * filesize;
@property (nonatomic, retain) NSNumber * height;
@property (nonatomic, retain) NSNumber * isSynced;
@property (nonatomic, retain) NSNumber * length;
@property (nonatomic, retain) NSString * localUrl;
@property (nonatomic, retain) NSString * remoteUrl;
@property (nonatomic, retain) NSData * thumbnail;
@property (nonatomic, retain) id uploadProgress;
@property (nonatomic, retain) NSNumber * width;
@property (nonatomic, retain) Event *belongToEvents;
@property (nonatomic, retain) NSSet *metadatas;
@property (nonatomic, retain) Tag *tagsDescription;
@end

@interface Evidence (CoreDataGeneratedAccessors)

- (void)addMetadatasObject:(EvidenceMeta *)value;
- (void)removeMetadatasObject:(EvidenceMeta *)value;
- (void)addMetadatas:(NSSet *)values;
- (void)removeMetadatas:(NSSet *)values;
@end
